/**
 * 
 */
package prv.pursuivant.core.impl;

import java.util.List;

import prv.pursuivant.core.Kind;

/**
 * Represents category (main achievement)
 * 
 * @author Kwinto
 */
public class CategoryAchievType extends AbstractAchievType {

	/**
	 * The only constructor
	 * 
	 * @param kind
	 * @param name
	 * @param id
	 * @param criteria
	 */
	public CategoryAchievType(String name, String id, List<String> criteria) {
		super(name, criteria);
		this.id = id;
	}

	/**
	 * Id of the achievement type
	 * 
	 */
	private final String id;

	/**
	 * 
	 * @see prv.pursuivant.core.achievtypes.AchievType#getId()
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * 
	 * @see prv.pursuivant.core.achievtypes.AchievType#getKind()
	 */
	public Kind getKind() {
		return KindImpl.CATEGORY;
	}

}
